package com.demo.webapp.kcfinder;

import java.util.Map;


/**
 * 请求调用封装map
 * 
 * @author ryuu.kk
 *
 */
public class ActionMapping implements java.io.Serializable {

	/**
	 * 版本序列化ID
	 */
	private static final long serialVersionUID = 7925918486810793461L;
	//请求名称
    private String name;
    private String namespace;
    private String method;
    private String extension;
    private Map<String, Object> params;
    
    public ActionMapping() {}
    
    public ActionMapping(String name, String namespace, String method, Map<String, Object> params) {
    	this.name = name;
    	this.namespace = namespace;
    	this.method = method;
    	this.params = params;
    }
    
	public String getExtension() {
		return extension;
	}

	public void setExtension(String extension) {
		this.extension = extension;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNamespace() {
		return namespace;
	}
	public void setNamespace(String namespace) {
		this.namespace = namespace;
	}
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	public Map<String, Object> getParams() {
		return params;
	}
	public void setParams(Map<String, Object> params) {
		this.params = params;
	}
}